import { Express } from 'express';
import { mediaRoutes } from './media';
import { cloudRoutes } from './cloud';
import { downloadRoutes } from './download';
import { playerRoutes } from './player';
import { historyRoutes } from './history';

export function setupRoutes(app: Express) {
  // API路由前缀
  app.use('/api/media', mediaRoutes);
  app.use('/api/cloud', cloudRoutes);
  app.use('/api/download', downloadRoutes);
  app.use('/api/player', playerRoutes);
  app.use('/api/history', historyRoutes);
}
